package com.spic.business.mountguard.service;

import com.spic.business.mountguard.domain.MountGuardLeadersignin;

import java.util.HashMap;
import java.util.List;

/**
 * 领导上岗到位签到Service接口
 *
 * @author yangjie
 * @date 2021-11-01
 */
public interface IMountGuardLeadersigninService
{
    /**
     * 查询领导上岗到位签到
     *
     * @param id 领导上岗到位签到主键
     * @return 领导上岗到位签到
     */
    public MountGuardLeadersignin selectMountGuardLeadersigninById(Integer id);

    /**
     * 查询领导上岗到位签到列表
     *
     * @param mountGuardLeadersignin 领导上岗到位签到
     * @return 领导上岗到位签到集合
     */
    public List<MountGuardLeadersignin> selectMountGuardLeadersigninList(MountGuardLeadersignin mountGuardLeadersignin);

    /**
     * 新增领导上岗到位签到
     *
     * @param mountGuardLeadersignin 领导上岗到位签到
     * @return 结果
     */
    public int insertMountGuardLeadersignin(MountGuardLeadersignin mountGuardLeadersignin);

    /**
     * 修改领导上岗到位签到
     *
     * @param mountGuardLeadersignin 领导上岗到位签到
     * @return 结果
     */
    public int updateMountGuardLeadersignin(MountGuardLeadersignin mountGuardLeadersignin);

    /**
     * 批量删除领导上岗到位签到
     *
     * @param ids 需要删除的领导上岗到位签到主键集合
     * @return 结果
     */
    public int deleteMountGuardLeadersigninByIds(Integer[] ids);

    /**
     * 删除领导上岗到位签到信息
     *
     * @param id 领导上岗到位签到主键
     * @return 结果
     */
    public int deleteMountGuardLeadersigninById(Integer id);


    //统计签到次数
    public List<HashMap<String, Object>> selectSignCount();

    Boolean selectQrCodeState(String key);

}
